package com.chenjiagou.ordertickets.pojo;

import java.util.List;

public class PageResult<T> {
        private List<T> content;
        private int totalPages;

        public PageResult(List<T> content, int totalPages) {
            this.content = content;
            this.totalPages = totalPages;
        }

        public List<T> getContent() {
            return content;
        }

        public int getTotalPages() {
            return totalPages;
        }
}

